package com.zuipin.entity.product;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @ClassName CatgroyPropView 
 * @author wangcongyi
 * @date 2017年4月18日 下午5:06:31
 */
@ApiModel(description = "品类可见性设置")
public class CatgroyPropView implements Serializable {
	
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;
	
	private Long				id;							// ID
	
	private Long				catId;						// 分类ID
	
	private Long				propId;						// 属性ID
	
	private String				device;						// 设备 PC WAP
	
	private Long				viewPosition;				// 展示位置 0 详情 1 筛选
	
	private Long				viewType;					// 是否展示 0 不展示 1 展示
	
	private Long				sysId;						// 系统ID
	
	private Boolean				delFlag;					// 删除标志 0 未删除 1 已删除
	
	private Long				createId;					// 创建者
	
	private String				createTime;					// 创建时间
	
	private Long				updateId;					// 更新者
	
	private String				updateTime;					// 更新时间
	
	public static final Long	SHOW				= 1L;
	public static final Long	NOT_SHOW			= 0L;
	public static final Long	CHOOSE				= 1L;	// 筛选位置
	public static final Long	DETAIL				= 0L;	// 详情位置
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	@ApiModelProperty(value = "分类ID")
	public Long getCatId() {
		return catId;
	}
	
	public void setCatId(Long catId) {
		this.catId = catId;
	}
	
	@ApiModelProperty(value = "属性ID")
	public Long getPropId() {
		return propId;
	}
	
	public void setPropId(Long propId) {
		this.propId = propId;
	}
	
	@ApiModelProperty(value = "展示位置 0 详情 1 筛选 ")
	public Long getViewPosition() {
		return viewPosition;
	}
	
	public void setViewPosition(Long viewPosition) {
		this.viewPosition = viewPosition;
	}
	
	@ApiModelProperty(value = "PC|WAP")
	public String getDevice() {
		return device;
	}
	
	public void setDevice(String device) {
		this.device = device;
	}
	
	@ApiModelProperty(value = "是否展示 0不展示 1展示")
	public Long getViewType() {
		return viewType;
	}
	
	public void setViewType(Long viewType) {
		this.viewType = viewType;
	}
	
	@ApiModelProperty(value = "系统ID")
	public Long getSysId() {
		return sysId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Boolean getDelFlag() {
		return delFlag;
	}
	
	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}
	
	public Long getCreateId() {
		return createId;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public String getCreateTime() {
		return createTime;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime == null ? null : createTime.trim();
	}
	
	public Long getUpdateId() {
		return updateId;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public String getUpdateTime() {
		return updateTime;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime == null ? null : updateTime.trim();
	}
}